package com.netflexitysolutions.amazonws.ec2;

import java.util.HashMap;
import java.util.Map;

public enum InstanceMonitoringState {

	TODO;
	//TODO: figure out what are possible values for monitoring	

	private static Map<String, InstanceMonitoringState> stateByName = new HashMap<String, InstanceMonitoringState>();
	
	static {
		InstanceMonitoringState[] states = InstanceMonitoringState.values();
		for (InstanceMonitoringState state : states) {
			stateByName.put(state.getName(), state);
		}
	}
	
	public static InstanceMonitoringState instanceMonitoringStateForName(String name) {
		return stateByName.get(name);
	}
	
	private String name;
	
	protected String getName() {
		return name;
	}

}
